Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal dialogResult As T, _ Optional ByVal isDefaultCommand As Boolean, _ Optional ByVal isCancelCommand As Boolean _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim dialogResult As T Dim isDefaultCommand As Boolean Dim isCancelCommand As Boolean Dim instance As New DialogUICommand(Of T)(dialogResult, isDefaultCommand, isCancelCommand) |
C# | |
---|---|
public DialogUICommand<T>( T dialogResult, bool isDefaultCommand, bool isCancelCommand ) |
C++/CLI | |
---|---|
public: DialogUICommand<T>( T^ dialogResult, bool isDefaultCommand, bool isCancelCommand ) |
Parameters
- dialogResult
- The associated dialog result value.
- isDefaultCommand
- True if command is the default command.
- isCancelCommand
- True if the command is used to cancel.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family